<?php

/**
 * This is the model class for table "tagrem_company_content_type".
 */
require_once(dirname(__FILE__).'/base/ContentTypeBase.php');
class ContentType extends ContentTypeBase
{
    /**
     * @return array relational rules.
     */
    public function relations()
    {
        return array(
            'form'=>array(self::HAS_ONE, 'Form', 'content_id'),
        );
    }
    
    public function behaviors()
    {
        return array(
            'TimestampBehavior'=>array('class'=>'TimestampBehavior'),
        );
    }
}